package com.migo.service.impl;

import com.migo.dao.TechnicalSupportTypeDao;
import com.migo.entity.TechnicalSupportTypeEntity;
import com.migo.service.TechnicalSupportTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;



@Service("technicalSupportTypeService")
public class TechnicalSupportTypeServiceImpl implements TechnicalSupportTypeService {
	@Autowired
	private TechnicalSupportTypeDao technicalSupportTypeDao;
	
	@Override
	public TechnicalSupportTypeEntity queryObject(Integer id){
		return technicalSupportTypeDao.queryObject(id);
	}
	
	@Override
	public List<TechnicalSupportTypeEntity> queryList(Map<String, Object> map){
		return technicalSupportTypeDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return technicalSupportTypeDao.queryTotal(map);
	}
	
	@Override
	public void save(TechnicalSupportTypeEntity technicalSupportType){
		technicalSupportTypeDao.save(technicalSupportType);
	}
	
	@Override
	public void update(TechnicalSupportTypeEntity technicalSupportType){
		technicalSupportTypeDao.update(technicalSupportType);
	}
	
	@Override
	public void delete(Integer id){
		technicalSupportTypeDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		technicalSupportTypeDao.deleteBatch(ids);
	}
	
}
